package com.sfac.springCloudAccount.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import com.sfac.test.City;

/**
 * TestOpenFeign
 */
@FeignClient(name = "client-test")
public interface TestOpenFeign {

	@GetMapping(value = "/api/test/city/{cityId}")
	public City getCityByCityId(@PathVariable int cityId);
}
